package com.task.common.entity.custom;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author Huzz
 * @since 2022-05-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("bs_item")
@ApiModel(value="Item对象", description="")
public class Item implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(name = "ID")
    @TableId(type = IdType.AUTO)
    @Excel(name = "id")
    private Integer id;

    @ApiModelProperty(value = "项目名称")
    @Excel(name = "项目名称")
    private String name;

    @ApiModelProperty(value = "描述")
    @Excel(name = "描述")
    private String description;

    @ApiModelProperty(value = "0未启动,1进行中,2关闭")
    @Excel(name = "状态")
    private Integer status;

    @TableLogic
    @ApiModelProperty(value = "1删除,0未删除")
    @Excel(name = "状态")
    private Integer del;

    @ApiModelProperty(value = "创建时间")
    @Excel(name = "创建时间")
    private Date createdTime;

    @ApiModelProperty(value = "修改时间")
    @Excel(name = "修改时间")
    private Date updatedTime;

    @ApiModelProperty(value = "创建人id")
    @Excel(name = "创建人id")
    private Integer createdUserId;

    @ApiModelProperty(value = "修改人id")
    @Excel(name = "修改人id")
    private Integer updatedUserId;

}
